
package monitorandwebserver;

public class Sensor {
    public String mappedAddress = "";
    public String ipAddress = "";
    public String metric = "";
    public int port = -1;
    public String data ="SENSOR_OFFLINE";//current state of sensor
    
    public Sensor(String metric, String mappedAddress,String ipAddress, int port){
        this.metric = metric;
        this.ipAddress = ipAddress;
        this.port = port;
        this.mappedAddress = mappedAddress;
    }
}
